/**
 * PlanInMealDTO.java
 * Nov 16, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package XMLEntities;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Lubu
 * @version 1.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PlanInMeal", propOrder = { "menuId", "mealOrder", "dishList"})
public class PlanInMealXM {
	@XmlElement(required = true, name="menuId")
	private int menuId;
	@XmlElement(required = true, name="mealOrder")
	private int mealOrder;
	@XmlElement(required = true, name="dishList")
	private DishListXM dishList;
	public PlanInMealXM() {
		super();
		dishList = new DishListXM();
	}
	public PlanInMealXM(int menuId, int mealOrder, DishListXM dishList) {
		super();
		this.menuId = menuId;
		this.mealOrder = mealOrder;
		this.dishList = dishList;
	}
	/**
	 * Get value of the menuId
	 * @return the menuId
	 */
	public int getMenuId() {
		return menuId;
	}
	/**
	 * Set value for the menuId
	 * @param menuId the menuId to set
	 */
	public void setMenuId(int menuId) {
		this.menuId = menuId;
	}
	/**
	 * Get value of the mealOrder
	 * @return the mealOrder
	 */
	public int getMealOrder() {
		return mealOrder;
	}
	/**
	 * Set value for the mealOrder
	 * @param mealOrder the mealOrder to set
	 */
	public void setMealOrder(int mealOrder) {
		this.mealOrder = mealOrder;
	}
	/**
	 * Get value of the dishList
	 * @return the dishList
	 */
	public DishListXM getDishList() {
		return dishList;
	}
	/**
	 * Set value for the dishList
	 * @param dishList the dishList to set
	 */
	public void setDishList(DishListXM dishList) {
		this.dishList = dishList;
	}
	
	
	
}

